package com.Bean;

import java.io.Serializable;
import java.util.Date;

/***
 * @Author 徐庶   QQ:1092002729
 * @Slogan 致敬大师，致敬未来的你
 */

public class User implements Serializable {

    private Integer id ;
    private String name ;
    //为了展示手动映射的作用，多加个e
    private Date createdate;
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public User(Integer id, String name, Date createdate) {
        this.id = id;
        this.name = name;
        this.createdate = createdate;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", createdate=" + createdate +
                '}';
    }
}
